package com.example.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.example.vo.FundVO;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Netval {

    private String fundCode;

    private String fundShortName;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date endDate;

    private BigDecimal unitNetVal;

    @TableField(exist = false)
    private FundVO vo;
}
